/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mabi.frontend.appbuilder.navigation;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;

/**
 *
 * @author Justo Disla
 */
public class NavigationBuilder implements INavigationBuilder, PropertyChangeListener{
    private final NavigationManager navigationManager;

    
    
    public NavigationBuilder(NavigationManager navMan) {
        navigationManager = navMan;
        navigationManager.addPropertyChangeListener(this);
    }
    
    

    @Override
    public void refreshNavigation() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void propertyChange(PropertyChangeEvent evt) {
        this.refreshNavigation();
    }
    
}
